h1 {
  color: #6c3918;
  font-size: 50px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.contentContainer {
  display: flex;
  justify-content: center;
}

.gridContainer {
  display: grid;
  justify-content: center;
  grid-template-columns: minmax(300px, 1fr) 1.4fr;
  width: 1100px;
  gap: 40px;
  margin: 20px;
  padding: 0;
  margin-bottom: 50px;
}

.imgBox img {
  max-width: 100%; 
  max-height: 400px; 
  display: block; 
  margin: auto;
  box-shadow: 5px 5px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.imgBox img:hover {
  transform: scale(1.05); 
}

.textBox {
  position: relative;
}

.textBox h2 {
  color: #3f1515;
  font-size: 35px;
  margin: 0;
  margin-bottom: 10px;
}

.subtitle {
  color: #594b4b;
  font-size: 28px;
  margin: 0;
  margin-bottom: 10px;
}

.programsDescription {
  text-align: justify;
  font-size: 25px;
  margin: 0;
}

.input-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.input-container input[type=month] {
  padding: 6px;
  font-size: 20px;
  border: none;
  width: 200px;
  height: 50px;
}

.input-container button {
  background: black;
  color: white;
  width: 120px;
  height: 50px;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: background-color 0.1s ease-in-out;
}

.input-container button:hover {
  background-color: #FF0000;
  color: #ffffff;
}


@media (max-width: 1200px){
  .gridContainer {
    display: block;
    margin-bottom: 0;
  }

  .imgBox{
    text-align: center;
  }

  .imgBox img {
    max-height: 200px;
    box-shadow: 5px 5px 3px rgba(0, 0, 0, 0.2);
  }

  .textBox {
    margin: 40px 40px;
    margin-top: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000000;
  }

  h1 {
    font-size: 5vw;
  }

  .textBox h2 {
    font-size: 4vw;
    text-align: center;
  }

  .subtitle {
    font-size: 3vw;
    text-align: center;
  }

  .programsDescription {
    font-size: 2.5vw;
  }

  .input-container input[type=month] {
    font-size: 11px;
    width: 120px;
    height: 20px;
  }
  
  .input-container button {
    font-size: 11px;
    height: 20px;
    width: 60px;
  }
}
